package com.intelligent.ispc.utils;

/**
 * Created by julia on 16/2/4.
 */
public final class Constant {
    private Constant () {
    }

    public final static String MONGODB_SPC_COLLECTION = "project_spc_";
    public final static String MONGODB_GRR_COLLECTION = "project_grr_";
    public final static String ANALYSE_TYPE = "ANALYSE_TYPE";
    public final static String ANALYSE_NDC_TYPE = "NDC";
    public final static String ANALYSE_RUNC_TYPE = "RUNC";
    public final static String ANALYSE_XBARC_TYPE = "XBARC";
    public final static String ANALYSE_SDC_TYPE = "SDC";
    public final static String ANALYSE_RC_TYPE = "RC";
    public final static String ANALYSE_MRC_TYPE = "MRC";

    public final static String ROLE_ADMINISTRATOR = "Administrator";
    public final static String ROLE_ENABLE = "ENABLE";
    public final static String ROLE_DISABLE = "DISABLE";

    public final static String GLOBAL_DUT_ATTRIBUTES = "dutAttributes.";
    public final static String GLOBAL_TEST_DATA = "testData.";

    public final static String GLOBAL_LOGIN_NAME = "loginName";
    public final static String GLOBAL_USER_ID = "userId";
    public final static String GLOBAL_PROJECT_ID = "projectId";
    public final static String GLOBAL_STATION_ID = "stationId";
    public final static String GLOBAL_STATION_OR_SLOT = "stationIdOrSlotNo";
    public final static String GLOBAL_STATION__SLOTNO = "slotNo";
    public final static String GLOBAL_SERIAL_NUMBER = "serialNumber";
    public final static String GLOBAL_ITEM_NAME = "itemName";
    public final static String GLOBAL_START_TIME = "startTime";
    public final static String GLOBAL_STOP_TIME = "stopTime";
    public final static String GLOBAL_EMPTY = "";
    public final static String GLOBAL_NAN = "NaN";
    public final static String GLOBAL_SEPARATOR= " @#! ";


    public final static String UPLOAD_TARGET_SPC = "SPC";
    public final static String UPLOAD_TARGET_GRR = "GRR";

    public final static String GRR_NAME = "grrName";
    public final static String GRR_EXPORT_SUMMARY = "Summary";
    //public final static String GRR_TEST_STRATEGY = "testStrategy";
    public final static String GRR_OPERATOR_VALUE = "operatorValue";
    public final static String GRR_PART_VALUE = "partValue";
    public final static String GRR_TRIAL_VALUE = "trialValue";

    public final static String GRR_PART_KEY = "partKey";
    public final static String GRR_GROUP1_KEY = "group1Key";
    public final static String GRR_GROUP2_KEY = "group2Key";
    public final static String GRR_DIMENSION_KEY = "dimensionKey";
    public final static String GRR_DIMENSION_VALUE = "dimensionValue";
    public final static String GRR_ANALYSIS_KEYS = "analysisKeys";


    public final static String GRR_SIGMA_VALUE = "sigma";
    public final static String GRR_SIGMA_PARAM = "sigmaParam";
    public final static String GRR_RULE_VALUE = "rule";
    public final static String GRR_MODEL_VALUE = "model";
    public final static String GRR_START_TIME = "grrStartTime";
    public final static String GRR_END_TIME = "grrEndTime";
    public final static String GRR_CHECKED_ITEM_NAME = "checkedItemName";
    public final static String GRR_ITEM_NAME_IN = "includeIds";
    public final static String GRR_ITEM_NAME_EX = "excludeIds";
    public final static String GRR_ITEM_NAMES = "itemNames";
    public final static String GRR_USL = "USL";
    public final static String GRR_LSL = "LSL";
    public final static String GRR_TOLE = "tole";

    public final static String GRR_ANOVA_VALUE = "anovaValue";
    public final static String GRR_SOURCE_VALUE = "sourceValue";

    public final static String GRR_ANOVA_APPRAISERS = "Appraisers";
    public final static String GRR_ANOVA_PARTS = "Parts";
    public final static String GRR_ANOVA_APPRAISERS_AND_PARTS = "Appraisers*Parts";
    public final static String GRR_ANOVA_GAGE = "Gage";
    public final static String GRR_ANOVA_TOTAL = "Total";

    public final static String GRR_SOURCE_REPEATABILITY = "Repeatability";
    public final static String GRR_SOURCE_REPRODUCIBILITY = "Reproducibility";
    public final static String GRR_SOURCE_APPRAISERS = "Appraisers";
    public final static String GRR_SOURCE_APPRAISERS_AND_PARTS = "Appraisers*Parts";
    public final static String GRR_SOURCE_GAGE_RR = "Gage R&R";
    public final static String GRR_SOURCE_PART = "Part";
    public final static String GRR_SOURCE_TOTAL = "Total";

    public final static String GRR_CHARTS_PATH = "Charts";
    public final static String GRR_CONTRIBUTION_TYPE = "contribution";
    public final static String GRR_INTERACTION_TYPE = "Interaction";
    public final static String GRR_R_TYPE = "R";
    public final static String GRR_XBAR_TYPE = "X-BAR";
    public final static String GRR_RESPONSE_PART = "ResponseByPart";
    public final static String GRR_RESPONSE_OPERATOR = "ResponseByOperator";
    public final static String GRR_EXPORT_ITEM_NAMES = "exportItemNames";

    public final static String EXPORT_DIMENSION_CHAIN = "Dimension Chain";


}
